/*
 * @(#)IValidator.java
 * Date 2013-10-05
 * Version 1.0
 * Author Jim Horner
 * Copyright (c)2012
 */


package us.hornerscorners.lamppost.model;

import java.util.Collection;

import us.hornerscorners.lamppost.exception.ServiceActionError;


/**
 * Interface description
 *
 *
 * @param <T>
 *
 * @version        v1.0, 2013-10-05
 * @author         Jim Horner
 */
public interface IValidator<T> {

    /**
     * Method description
     *
     *
     * @return
     */
    public abstract Class getErrorLocation();

    /**
     * Method description
     *
     *
     * @param object
     *
     * @return
     */
    public abstract Collection<ServiceActionError> validate(Collection<T> object);

    /**
     * Method description
     *
     *
     * @param object
     *
     * @return
     */
    public abstract Collection<ServiceActionError> validate(T object);
}
